package com.flyme.module.base.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.flyme.common.core.model.base.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
 * 学时记录
 * @author zyh
 * @date 2020-3-26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("sys_periodrecord")
public class SysPeriodrecord extends AbstractEntity<SysPeriodrecord> {

	/** 记录类型（0课程1活动） */
	private Integer periodType;
	/** 课程id */ 
	private Long courseId;
	/** 目录id */ 
	private Long catalogId;
	/** 活动id */ 
	private Long activityrecordId;
	/** 获得的学时 */ 
	private Integer period;
	/** 用户id */ 
	private Long userId;
	/** 用户证书id */
	private Long usercertificateId;
}

